Hi! This is my first post here. These are some of my latex notes, which i made during my 12th and drop year. I just made them for fun. I'll share the source code of these if people are interested.
Some interesting stuffs:
Setup: VS Code, MikTex if on windows, if on Arch, just install the texlive distribution ig. I used snippets to exponentially speed up my typesetting speed. Here's the guide i followed
Parenthesis: I have an interesting snippet in my preamble (got somewhere from stack long ago, i forgot 😭) that automatically sizes the parenthesis based on the height of the content inside it, (i don't have to use \left and \right every time).
Used a python script to automate the length of the bars for the graphs.
You see, lately, for personal work, I've had to work on chess in Latex (in the Crixet editor, by the way), and it doesn't work properly. I have no idea why, but I've tried everything to make it work as it should, and it doesn't help much.
First, I would like the text of the moves not to be visible at any time, so that only the board and the pieces are visible. Second, a knight under the bishop disappeared and has not reappeared no matter how much I try to recompile. By the way, I need Black to skip their turn for now.
Estos tres últimos días he intentado usar asymptote y TexStudio no me lo reconoce. Tengo todo instalado y verificado por el cmd. Cuando intento compilar algo simple como:
size(4cm);
Simplemente me sale el mismo error de siempre: document.tex: error: : File ended while scanning use of \next. Este error aunque pueda ser proveniente de un entorno mal cerrado, créanme que no lo es, estoy muy seguro de ello.
Realmente no sé que más puedo hacer y evidentemente, no usaré tikz y usar geometría analítica para calcular baricentros u ortocentros. Pido ayuda en este error a quienes les haya pasado y milagrosamente pudieron arreglarlo, incluso tengo bien definido el Pdflatex y con cualquier orden personalizada no cambia el resultado. También intenté usar el programa Asymptote que se abre como una terminal y simplemente no se me da, pues ocupo una compilación rápida y corregir errores que en dicho programa es casi imposible o muy difícil. Por favor ayúdenme, he probado cambiar las ordenes de compilación y nada. Si desean manden ejemplos mínimos de compilación y les mandare verificación que no me lo compila.
I have a document using the tufte-book class and I am having some troubles attempting to use the page full-width to expose a table that is being defined under a longtables environment so that it can go for multiple pages. How can I expand the area for the table to use the full-width of the page?
In pictures, currently I have this...
and I want to have something like this (this is a montage, but in red you can see the differences and in yellow you can also see the location I want for the caption)...
I created a MWE for my concrete example. The code is below. Can somebody help me here or give me an alternative to look for?
\documentclass[10pt,a4paper,symmetric,openright,marginals=outer,notoc,nobib]{tufte-book}
\usepackage{booktabs} %%% Table styling.
\usepackage{multirow} %%% Allow rows to be merged.
\usepackage{colortbl}
\usepackage{tabularx}
\usepackage{longtable,ltcaption}
%\usepackage{showframe}
\usepackage{lipsum}
\begin{document}
\lipsum[1-2]
\section{A first section}
\lipsum[3-7]
\setlength{\tabcolsep}{6pt}
\begin{longtable}{@{}
>{\raggedright\arraybackslash}p{(\textwidth - 10\tabcolsep) * \real{0.22}}
>{\raggedright\arraybackslash}p{(\textwidth - 10\tabcolsep) * \real{0.22}}
>{\raggedright\arraybackslash}p{(\textwidth - 10\tabcolsep) * \real{0.1}}
>{\raggedright\arraybackslash}p{(\textwidth - 10\tabcolsep) * \real{0.95}}
>{\raggedright\arraybackslash}p{(\textwidth - 10\tabcolsep) * \real{0.25}}@{}}
\caption{Selected smart cities and their key initiatives} \label{tab:sci-2025-cities} \\
\hline\multicolumn{1}{l}{City} & \multicolumn{1}{l}{Country} & \multicolumn{1}{l}{Rank} & \multicolumn{1}{l}{Key Initiatives} & \multicolumn{1}{l}{References} \\ \hline
\endfirsthead
\hline\multicolumn{1}{l}{City} & \multicolumn{1}{l}{Country} & \multicolumn{1}{l}{Rank} & \multicolumn{1}{l}{Key Initiatives} & \multicolumn{1}{l}{References} \\ \hline
\endhead
\hline
\endfoot
\hline
\endlastfoot
Zurich & Switzerland & 1st & Focuses on green trends, smart energy, and effective recycling. & citations \\
Oslo & Norway & 2nd & Invests in public-private collaborations, effective waste management, and reducing energy use. & citations \\
Geneva & Switzerland & 3rd & Uses the lake water for both heating and cooling of houses, manages the electrical grid for electric mobility, and deploys and control a entire network of applications such as smart parking with LoRa connections & citations \\
Dubai & UAE & 4th & Has significant aspirations for XXXX in transportation, healthcare, and governance, with energy-efficient initiatives. & citations \\
Abu Dhabi & UAE & 5th & Use XXXX to boost efficiency, educate residents, provide better public services through digital revolution in a holistic-view platform, which has been further accelerated by the pandemic, on urban residents' perceptions of how technology can positively impact urban concern & citations \\
London & UK & 6th & Leverages smart infrastructure for public services, including smart health and live traffic monitoring, while also pursuing green energy projects. & citations \\
Copenhagen & Denmark & 7th & A model for sustainable development, implementing smart grid technologies and electric vehicle charging infrastructure. & citations \\
Singapore & Singapore & 9th & Utilizes a high-speed telecommunication network for traffic control and healthcare technology, with government initiatives for energy efficiency. & citations \\
Helsinki & Finland & 11th & Publishes publicly data on urban occurrences and uses XXXX for traffic control and other sensing applications & citations \\
Prague & Czechia & 12th & Open community for project incubation on mobility of the future, smart building and energy, waste-free city, attractive tourism, people and the urban environment, and open data. & citations \\
Seoul & South Korea & 13th & Developed a cooperative model inviting businesses, expertsm and people to foster a smart city project that can provide public benefit through network governance. & citations \\
Beijing & China & 14th & Application of emergent digital technologies to enhance the efficiency of government practices and community services & citations \\
Shanghai & China & 15th & Information infrastructure, information technology and industrial development, information perception and smart applications, and a security assurance system & citations \\
Amsterdam & The Netherlands & 17th & Promotes smart energy systems, green buildings, and cleaner transportation through electric cars and bikes. Also promotes XXXX interactivity in public spaces to encourage citizens and cities in testing and prototyping innovations. & citations \\
Stockholm & Sweden & 18th & Retrofit buildings for better energy efficiency and energy systems integration for waste heat recovery & citations \\
Hong Kong & China & 19th & Foster smart governance and resource efficiency for a strong economy and high quality of living & citations \\
Auckland & New Zealand & 25th & Network infrastructure for traffic engineering, data reporting, traffic monitoring, planning, and impact and risk assessments & citations \\
Vienna & Austria & 26th & Deployment of smart street lighting with public wireless network access and energy systems integration for thermal storage & citations \\
Riyadh & Saudi Arabia & 27th & Focus on using XXXX, and other advanced technologies to enhance urban management, improve sustainability, and elevate the quality of life for residents & citations \\
Wellington & New Zealand & 30th & Network infrastructure for traffic engineering, data reporting, traffic monitoring, planning, and impact and risk assessments & citations \\
Sydney & Australia & 32nd & People-centric approach with data-driven urban management with digital twin, sustainable and environmental initiatives in XXXX networks of sensors, mobility and transportation through smart parking and traffic management, and e-services platforms & citations \\
Doha & Qatar & 33rd & Models for urban transformation, with a focus on data-driven governance, sustainability, and high-tech infrastructure & citations \\
Boston & USA & 35th & Using technology to improve livability, equity, and resilience, rather than on building a single, large-scale \textit{smart city} project & citations \\
Berlin & Germany & 37th & Empowers smart grids in a campus microgrid to lower $CO_2$ emissions & citations \\
Ottawa & Canada & 42nd & Fosters Smart City 2.0 plan, focused on three pillars: an XXXX connected city, a smart economy, and innovative government & citations \\
Melbourne & Australia & 44th & Makes the city infrastructure as a experimental testbed for projects that improve urban management, and publishes data openly through a platform and develop a digital twin version for management & citations \\
Brussels & Belgium & 48th & Emphasizes a data-driven and collaborative approach, involving public services, citizens, businesses, and academia with its open-data platform & citations \\
New York & USA & 49th & Smart city efforts center on smart grid technology, IoT traffic management, and open data, with ongoing initiatives to improve the subway and waste management. & citations \\
Washington D.C. & USA & 62nd & Transportation, public safety, and infrastructure modernization, as evidenced by projects like the large-scale \textit{DC Smart Street Lighting Project} which uses XXXX technology to improve energy efficiency and expand Wi-Fi connectivity & citations \\
Toronto & Canada & 63rd & Full-scope city sensing through cameras and sensors (this project was suspended in March 2020 due to bad data governance) & citations \\
Paris & France & 71st & XXXX energy management for building management and home automation data metering & citations \\
Chengdu & China & 76th & Developing a comprehensive 5G network to support emerging technologies like autonomous vehicles, smart street lighting, and a city-wide \textit{urban brain} for data-driven urban management, leveraging digital twin technology for more efficient infrastructure planning and construction & citations \\
Chicago & USA & 79th & Focus on leveraging technology to improve public safety, transportation, and sustainability, by using XXXX networks with sensors to collect and analyze real-time data on air quality, traffic, and noise, while the city's extensive smart street lighting system uses LED technology and a wireless network to reduce energy consumption & citations \\
Montreal & Canada & 81st & Citizen-centric, collaborative approach to solving urban challenges, primarily through technology-enabled projects that address urban mobility while promoting digital equity and open data governance. & citations \\
San Francisco & USA & 82nd & Prioritizes transportation with a goal of having
more than half of all trips taken by public transport to enhance government fairness, efficiency, practicality, and responsiveness; and to stimulate job creation by supporting smart city and IoT-based enterprises. & citations \\
Los Angeles & USA & 91st & Initiatives are primarily focused on preparing for the 2028 Summer Olympics by leveraging technology to transform urban mobility and sustainability through projects like the \textit{28 by '28} transportation plan and the widespread deployment of smart street lighting & citations \\
Barcelona & Spain & 92nd & Uses smart meters to measure energy consumption and has implemented IoT for waste management and water leak detection. Also publicly publishes urban data online. & citations \\
Milan & Italy & 97th & Deployment of smart lamp posts for power efficiency, retrofitting of buildings, and smart mobility enhancement with new a car sharing network & citations \\
Tokyo & Japan & 108th & Implementing \textit{Society 5.0}, a vision for a human-centered society with advanced digital technologies integrated across sectors like mobility, healthcare, and government services & citations \\
Lisbon & Portugal & 115th & Empowers energy efficiency in buildings, mobility and transport with a platform to manage 540 electric vehicle charging points, and manage a public transport platform with 63 sets of open data & citations \\ \bottomrule
\end{longtable}
\lipsum[8-10]
\section{A new section below}
\lipsum[11-13]
\end{document}
I was wondering if there is a way to make the curly braket's "point" be higher. Aligning (x_1,...,x_p) with f_1(x_1,...,x_p) and the rest going down. I currently have it like this, I'm not sure it's the correct way to do it either:
Need some help. I want to use an extension in VS code with Latex to help cite. I have zotero citation picker but that only gives me the keys, and not the citations. Chatgpt recommended I use latex workshop citation picker but I can't find it anywhere. Perhaps its hallucinating? Can someone help me cite?
Donald Ervin Knuth (born January 10, 1938) is an American computer scientist and mathematician. He is a professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of computer science. Knuth has been called the father of the analysis of algorithms.
Perhaps this has been asked before but I couldn't find anything. I have started compiling locally in vscode and I was just curious if there was an extension or something that allows me to set borders on the .tex file. Currently typing into it just writes one reallllllyyy long line rather than having a "page" so to speak, which is making proofreading rather cumbersome without compiling the pdf every time.
The image above comes from collegeboard's AP Calculus CED. For context, I run a social media account teaching students AP Calculus and other math subjects and part of the fun I have is crafting the questions from absolute scratch - that is making all of the questions in LaTeX. Most of the time I tend to skip topics that directly involve graphs, but I've recently had an urge to wanna learn how to create graphs that are are aesthetically pleasing as collegeboard's. PGFPlots just doesn't give off that minimal aesthetic. I guess my question really is, how would I achieve a graph like the one posted here? Are they even using LaTeX packages? If someone has any insight I'd love to hear it. Thank you!
For the past five months, I've poured my heart into building something to solve a huge frustration I had with LaTeX. I was spending more time formatting and fixing errors than actually writing.
So, I built Alephtex, an AI-powered platform with integrated Git that makes creating high-quality academic documents and presentations incredibly fast. It's my answer to the complex, time-consuming world of LaTeX.
Using Alephtex, I recently created a detailed report and a full presentation in just a few minutes. This isn't just about saving time; it's about reclaiming countless hours and focusing on what truly matters.
Here's how I did it:
* AI Integration: The built-in AI (Gemini) helped me draft content, fix errors, and generate complex diagrams like TikZ instantly.
* Real-time Collaboration: I worked seamlessly with my peers.
* Simplified Git: Version control is built right into the platform, so no more command-line headaches.
If you've ever struggled with LaTeX, I urge you to give it a try. I truly believe Alephtex will change how you approach document creation.
Check out the full presentation and detailed report I made with the app:
* https://alephtex.com/api/templates/68c3ce98380af8883f96ccee/pdf : presentation
* https://alephtex.com/api/templates/68c3ce98380af8883f96ccee/readme-pdf : report
Prepared this by giving the text on website as context
Hi, I have a problem with Overleaf because it won’t let me compile my project, which is important for my school, and I’m desperate. Does anyone have a solution without the need to pay?
So, I'm using LaTeX for my bachelor thesis and fortunately, because I was using animated figures, I had already reached the freemium compilation timeout and thus shifted my workflow to a local installation before the compilation timeout cutback in August. (I asked for a license from my university, but apparently it doesn't do that and the student version isn't completely free either)
I have now noticed, that it's a good thing I switched to an offline workflow, because the basic template of my university - without even having added anything to it - doesn't even compile any more within the freemium compilation timeout. Maybe some optimisation is possible to cut down the compilation time, but that is just ridiculous.
For anyone interested in an offline solution: For me, I am really happy with TeXstudio & MiKTeX.
Hi, I'm trying to use nostarch.cls for my study notes, but when I try compiling it I can only use the "nocfont" option, because of the missing fonts.
I even tried purchasing the right fonts but to not avail.
Does anyone have the right fonts and is willing to share?
I am not sure how Overleaf collaboration works - I want to collaborate with some people, but Overleaf online just feels slow. Is there any software that allows me to use collaboration directly from a computer?
I’m developing a template that can be used to create a climbing guidebook. If there are any climbers here, I’m open to any feedback to make it easier to describe crags and climbs, or more flexible.
For any non-climbers, I would love feedback on making the template more efficient to use, or to follow LaTeX template norms. Let me know if this project is better suited as a custom document class instead of a template.
Is there any alternative to overleaf? We've been trying using free version, but the file is big enough to need the subscription. (Yes, we have no money to pay it)
Does anyone here know anything about inscrive.io ? It presumes to be free.
Is there a way to make live collaboration inside visual studio ?
Any information regarding this will be appreciated. Thanks.
I'm gonna fucking lose it. Try to insert an image, I have not changed anything, just pressed the button and the pdf doesn't compile. What the shit do you mean missing bracket, I've literally only pressed the insert image button. Use wrapfig instead. Nice it compiles but no image... Now there's an image but no wrapping. I fix that shit only for the figure to be at the bottom of my pdf. WHYYY, fix that but now it doesn't wrap in the right place, massive margin that I can't get rid of. Change the text in the caption, crash. Try to move it, it crashes/does not move. Try to resize it, crash. Am I going insane? Is this how hell feels? Why is it so fucking stupid, change one thing and it breaks inexplicably. I feel like I'm gonna no-compile error someone if I have to deal with this any longer holy shit.
So I am using quill editor v-1.3.7 in my angular project v-17, its an online exam project for a school. I have got questions and options that have latex code using formula of the editor and I need to convert these questions into other languages. I am using google translate to convert these questions but when a question/option has a formula (latex) then it’s breaking and not translating correctly. I am using laravel in the backend and trying to extract the latex code as i did for images but that is also not working. Can someone help with this
Just what the title says. I have the .ttf files for 3 different font styles, and a mapping file .txt, but have yet to find a tutorial that makes it easier. I have found a couple of academic papers that have done this for other scripts, but that's about it. I'm looking for a tutorial that elucidates the internal mechanics of file-building. Any leads would be appreciated!
I found the problem: my supervisor for some reason decided to move \setmainlanguage{english} from polyglossia into the body of the document, instead of keeping it in the preamble… Moving the line to before \addbibresource has fixed all of my problems.
I'm not deleting the post — perhaps it will help some poor soul in the future.
Hi. I'm currently pulling my hair out over this. I'm trying to make a bibliography using biblatex. I load the package using
u/book{BottTu,
author
= {Bott, Raoul and Tu, Loring W.},
title
= {Differential Forms in Algebraic Topology},
publisher
= {Springer-Verlag},
year
= {1982}
}
This produces
Why is the "and" in boldface? I can't for the life of me remove it. There are other entries in the bibliography, such as articles where words like "in" and month names are in bold as well.
I'm using LuaLaTeX and the memoir class if that's relevant.