Questions tagged [default]
The default tag has no usage guidance.
28
questions
2
votes
2
answers
162
views
Temporarily Disabling the Main Font
In the following MWE, I have defined cabin as the default font.
\documentclass[12pt]{book}
\usepackage[sfdefault]{cabin}
\usepackage{lipsum}
\begin{document}
\thispagestyle{empty}
\lipsum[12]
\...
1
vote
1
answer
192
views
How to set default value of \ChoiceMenu as combo using hyperref
I can't assign default values for \ChoiceMenus in combomode. Everything I find (Google), indicates that it should work this way (like it works with \TextField).
\documentclass[a4paper]{scrartcl}
\...
0
votes
0
answers
75
views
How to set geometry pack to standard after title page
I'm using \usepackage[a4paper]{geometry} for my whole document but want to adjust the geometry of the title page. I have seen this solution here. My problem is that I don't know what values I have to ...
0
votes
0
answers
19
views
Why are the default top and bottom margins so big [duplicate]
I read a post here that asks the exact same question, but it does not have a good answer, so I will ask it here.
I understand why the side margins would be big: to make it easier to read since your ...
0
votes
1
answer
62
views
Changing the Default Vertical Page Position for a group of New Chapters with Patchcmd Command
I am using the patchcmd command in the preamble to specify a vertical position default for where new (unnumbered) chapters should begin on the page:
\makeatletter
\patchcmd{\@makeschapterhead}{\vspace*...
0
votes
1
answer
404
views
Default value of hyperref's pdfborderstyle setting
I have a document where I want to use underlined PDF hyperlinks for the most part, but in one certain part, I need boxed PDF hyperlinks again.
I know that \hypersetup{pdfborderstyle={/S/U/W 1}} causes ...
1
vote
1
answer
114
views
Changing default margins in template
I need to change the margins on a template for at school-report. Right now it looks like it thinks it's a book, because every other side startes its margins to far in on the paper.
This is the only ...
2
votes
3
answers
74
views
Default and sporadic fonts
I am currently working on a document where I want the default font to be, as usual, Computer Modern. In particular, unless otherwise specified, this is the font that should be displayed.
...
2
votes
1
answer
61
views
How to set font to default from within a predefined environment?
moderncv's \cventry environment defines for its 3rd argument a slanted font:
\renewcommand*{\cventry}[7][.25em]{%
\cvitem[#1]{#2}{%
{\bfseries#3}%
\ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}%...
0
votes
1
answer
123
views
What's the best font for printing on a LED-printer?
my impression is that text appears to be too thin, hence hard to read and appearing grey-ish, when using LaTeX. It may look reasonable when viewing a pdf, but it's worse than e.g. Word or any other ...
1
vote
0
answers
1k
views
Change default color of text
Is it possible to change the default color of the text. I.e. what is usually black. I would like to have that text be a different color without having to use \textcolor everywhere
2
votes
2
answers
317
views
\newtcblisting with multiple optional arguments and defaults
I have a custom environment for code like this (it is a modified version of the code here):
\documentclass[12pt,a4paper]{report}
\usepackage[many]{tcolorbox}
\tcbuselibrary{minted,skins}
\definecolor{...
2
votes
0
answers
111
views
How to set the default font in a beamer sty-file? [duplicate]
I'm currently creating a beamer sty-file and want the style to change the default font. I tried the following without success:
\setmainfont has no effect.
For \setbeamerfont{<type>}{family=XXX} ...
4
votes
1
answer
249
views
Revert to default math font with Koma
I'm using a Koma-based class provided by my university. For some reason however the standard Latex math font is replaced by the following:
Any idea how to revert to the default one?
I suspect the ...
3
votes
1
answer
299
views
Default Spacing of Figure/Table-Enviroment
I could find it on the web. Is there a default vertical Spacing of the Figure/Table-Enviroment between the text and the picture/tabular in pt? I'm looking for the red marked space in the following ...
0
votes
1
answer
934
views
Where is the color code for darkbrown defined? (RGB value)
Where can I find the color code for darkbrown, so it's corresponding RGB value? It is not defined in xcolors.
20
votes
1
answer
3k
views
Why is Latin Modern the default font with xelatex and lualatex?
For xelatex and lualatex the default font family is Latin Modern. The font does not cover a wide range of Unicode. Why not extend the font characters to cover other languages' script? or define a ...
0
votes
0
answers
20
views
Pass second argument as the default first argument in a newcommand [duplicate]
I'm trying to do something along these lines:
\newcommand{\pcite}[2][#2]{( #1 \cite{#2} )}
I.e. make it so that, if an explicit argument is used, then use it, otherwise re-use the second argument as ...
8
votes
1
answer
1k
views
Where and how does fontspec.sty specify the default font (Latin Modern Roman)?
When doing \usepackage{fontspec}, where and how is the default font name specified?
On my TeX Live 2019, I see this font filename on the console log of the lualatex compilation: /usr/share/texmf/...
2
votes
1
answer
1k
views
Changing title's color - Classic thesis template
Default color of the title is red in classic thesis template.
I tried to search the word red in the file Titlepage.tex, ClassicThesis.tex and classicthesis-config.tex, but there is not.
How can I ...
3
votes
1
answer
300
views
custom color multinode shape with inherited default color
I would like to create a multinode shape doublecirc with two node parts, say text and lower, consisting of two circles with text in each.
(There are obviously ways to do this more simply -- but this ...
4
votes
1
answer
255
views
xkeyval `boolkey` setting is persistent across macro calls: scope leak?
I thought that keyval arguments to macros were supposed to be confined in their macro scope, but the following code:
\documentclass{report}
\usepackage{xkeyval}
% Define a custom command option ...
4
votes
1
answer
274
views
Wanted: question mark instead of bibtex key for missing citations (biblatex)
Instead of having the citation key showing up in the document for missing references, I want to only have [?], as it is the case when using the default bibtex without biblatex. This behavior is ...
6
votes
1
answer
1k
views
Reset Tikz Style
When I use the \CircleText macro within a \node in which the text width= is specified, the text width= gets applied to \CircleText. Is there a way to reset the style so that \CircleText does not ...
2
votes
2
answers
2k
views
Change colour of italics font for the whole document
I would like to see the following in my latex file: once I use the \textit{...} command, I would like to see that this text does not only get the italics font, but also gets the colour blue. I want to ...
1
vote
2
answers
158
views
modify default underscore behaviour/interpretation
Is there any way to modify the default in-text underscore behaviour document-wide?
I'm utilising a lot of filenames, IDs and so on which often have underscores in, and LaTeX doesn't like this (...
1
vote
1
answer
102
views
How do I get rid of the default spacing at the top of the page, as I want to move all of my text up?
I want to move all of my text up, but I can't seem to control the spacing before my title. How do I proceed?
My Source code:
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
...
2
votes
1
answer
2k
views
Why no space between operators in super and subscript
By default operator space didn't come for super and subscripts which is correct in general. Refer the below code:
\documentclass{book}
\begin{document}
\[
a+b\sum+\int_{a+b\quad a=b}
\]
\end{...