-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Font settings (migrating from lst-listings) #366
Comments
but some curious details:
|
There is no There is no "cooperation" between |
i am using pdflatex. also, fancyvrb doesnt have any issue tracker/community post discussions where i can file suggestions to 'em right? like here, gitlab, s_forge, c_berg, s_hunt etc... I had a suggestion regarding to its or maybe to have two settings:
this
|
For something like Times Roman under pdfTeX, you can try this:
If you want to customize things further, you'll probably need to go through the respective documentation or perhaps search https://tex.stackexchange.com/.
|
so, font size to 12, and no formatting for anything (i.e. all black) except comments will still require going to fancyvrb? |
Size: Color:
|
thanks for all the help. i had some thoughts related to this in direction of maybe some linking minted API with listings instead of fancyvrb... but couldnt formalise it very well, so, wiill leave it at that thabks again. |
Just a small note, color mode - \def\PYG@tok@c{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.5,0.5,0.5}{##1}}}}
+ \def\PYG@tok@c{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[gray]{0.5}{##1}}}} |
For some of these options in \lstinputlisting[%
linerange={10-40,48-48,56-107},
% lastline=108,
% consecutivenumbers=false
]{Rational.h}
\lstinputlisting[%
firstnumber=last,
linerange={12},
% consecutivenumbers=true,
]{rational.cpp} |
with |
|
Only linerange remains now |
Summary
(bad parsing in html comments, lacking css support, bad text layer rendering),
So, i needed some pointers for achieving the same results.
I looked at this issue as well 365 which mentions setting via fancyvrb package i guess, but couldn't figure out how to use that in \setminted{}
Details
The basic settings I need & couldn't find are:
[MUST]breaklines
to soft wrap the long linesFollowing are my settings for the listings package:
LEFT: minted , RIGHT: listings
Versions
listings
: 1.9minted
: 2.7The text was updated successfully, but these errors were encountered: