Skip to content
Discussion options

You must be logged in to vote

I might have stumbled upon an answer:

% ---- Inline code handling ----
% Disable default \texttt
\let\oldtexttt\texttt
% Define new inline code macro
\newcommand{\inlinecode}[1]{%
  {\ttfamily\hyphenchar\font=`\- #1}%
}
% Force Pandoc to use \inlinecode instead of \texttt
\renewcommand{\texttt}[1]{\inlinecode{#1}}

Let me know if there's something better than this incantation. Also looks like the code breaking between pages is still there. If I can't figure that out, I'll go searching here or add another discussion.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@ddamato
Comment options

@mcanouil
Comment options

@ddamato
Comment options

@Steinthal
Comment options

@Steinthal
Comment options

Answer selected by ddamato
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
latex LaTeX engines related libraries and technologies
4 participants